gtk: Use versioned deprecations
authorMatthias Clasen <mclasen@redhat.com>
Mon, 27 Feb 2012 12:10:59 +0000 (07:10 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 27 Feb 2012 12:11:43 +0000 (07:11 -0500)
This patch changes all uses of GDK_DEPRECATED(_FOR) in gtk headers
by the versioned variants, GDK_DEPRECATED_IN_3_x(_FOR). At the same
time, we add GDK_AVAILABLE_IN_3_x annotations for all API additions
in 3.2 and 3.4.

70 files changed:
gtk/deprecated/gtkcolorsel.h
gtk/deprecated/gtkcolorseldialog.h
gtk/deprecated/gtkfontsel.h
gtk/deprecated/gtkhandlebox.h
gtk/deprecated/gtkhbbox.h
gtk/deprecated/gtkhbox.h
gtk/deprecated/gtkhpaned.h
gtk/deprecated/gtkhscale.h
gtk/deprecated/gtkhscrollbar.h
gtk/deprecated/gtkhseparator.h
gtk/deprecated/gtkhsv.h
gtk/deprecated/gtkrc.h
gtk/deprecated/gtkstyle.h
gtk/deprecated/gtktable.h
gtk/deprecated/gtktearoffmenuitem.h
gtk/deprecated/gtkvbbox.h
gtk/deprecated/gtkvbox.h
gtk/deprecated/gtkvpaned.h
gtk/deprecated/gtkvscale.h
gtk/deprecated/gtkvscrollbar.h
gtk/deprecated/gtkvseparator.h
gtk/gtkaboutdialog.h
gtk/gtkaccelgroup.h
gtk/gtkaccessible.h
gtk/gtkactionable.h
gtk/gtkadjustment.h
gtk/gtkappchooserbutton.h
gtk/gtkapplication.h
gtk/gtkapplicationwindow.h
gtk/gtkassistant.h
gtk/gtkbbox.h
gtk/gtkbindings.h
gtk/gtkcellrenderer.h
gtk/gtkcellview.h
gtk/gtkcolorbutton.h
gtk/gtkcolorchooser.h
gtk/gtkcolorchooserdialog.h
gtk/gtkcolorchooserwidget.h
gtk/gtkcontainer.h
gtk/gtkcssprovider.h
gtk/gtkcsssection.h
gtk/gtkdnd.h
gtk/gtkentry.h
gtk/gtkentrycompletion.h
gtk/gtkexpander.h
gtk/gtkfontchooser.h
gtk/gtkfontchooserdialog.h
gtk/gtkfontchooserwidget.h
gtk/gtkgrid.h
gtk/gtkiconfactory.h
gtk/gtkicontheme.h
gtk/gtklayout.h
gtk/gtklockbutton.h
gtk/gtkmain.h
gtk/gtkmenu.h
gtk/gtkmenubar.h
gtk/gtkmenuitem.h
gtk/gtkoverlay.h
gtk/gtkscale.h
gtk/gtkstylecontext.h
gtk/gtktextiter.h
gtk/gtktextview.h
gtk/gtktoolpalette.h
gtk/gtktreeview.h
gtk/gtktreeviewcolumn.h
gtk/gtkuimanager.h
gtk/gtkviewport.h
gtk/gtkwidget.h
gtk/gtkwidgetpath.h
gtk/gtkwindow.h

index 9acf9c3ee112d71f8967f14bd1172d6d7216b949..ab75f3b7f4630a88b3eaf19dafb55bd3a54794ca 100644 (file)
@@ -89,67 +89,67 @@ struct _GtkColorSelectionClass
 /* ColorSelection */
 
 GType      gtk_color_selection_get_type                (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(gtk_color_chooser_widget_new)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_widget_new)
 GtkWidget *gtk_color_selection_new                     (void);
-GDK_DEPRECATED_FOR(gtk_color_chooser_get_use_alpha)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_use_alpha)
 gboolean   gtk_color_selection_get_has_opacity_control (GtkColorSelection *colorsel);
-GDK_DEPRECATED_FOR(gtk_color_chooser_set_use_alpha)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_use_alpha)
 void       gtk_color_selection_set_has_opacity_control (GtkColorSelection *colorsel,
                                                        gboolean           has_opacity);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 gboolean   gtk_color_selection_get_has_palette         (GtkColorSelection *colorsel);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void       gtk_color_selection_set_has_palette         (GtkColorSelection *colorsel,
                                                        gboolean           has_palette);
 
 
-GDK_DEPRECATED_FOR(gtk_color_chooser_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
 void     gtk_color_selection_set_current_alpha   (GtkColorSelection *colorsel,
                                                  guint16            alpha);
-GDK_DEPRECATED_FOR(gtk_color_chooser_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba)
 guint16  gtk_color_selection_get_current_alpha   (GtkColorSelection *colorsel);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void     gtk_color_selection_set_previous_alpha  (GtkColorSelection *colorsel,
                                                  guint16            alpha);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 guint16  gtk_color_selection_get_previous_alpha  (GtkColorSelection *colorsel);
 
-GDK_DEPRECATED_FOR(gtk_color_chooser_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
 void     gtk_color_selection_set_current_rgba    (GtkColorSelection *colorsel,
                                                   const GdkRGBA     *rgba);
-GDK_DEPRECATED_FOR(gtk_color_chooser_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba)
 void     gtk_color_selection_get_current_rgba    (GtkColorSelection *colorsel,
                                                   GdkRGBA           *rgba);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void     gtk_color_selection_set_previous_rgba   (GtkColorSelection *colorsel,
                                                   const GdkRGBA     *rgba);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void     gtk_color_selection_get_previous_rgba   (GtkColorSelection *colorsel,
                                                   GdkRGBA           *rgba);
 
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 gboolean gtk_color_selection_is_adjusting        (GtkColorSelection *colorsel);
 
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 gboolean gtk_color_selection_palette_from_string (const gchar       *str,
                                                   GdkColor         **colors,
                                                   gint              *n_colors);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 gchar*   gtk_color_selection_palette_to_string   (const GdkColor    *colors,
                                                   gint               n_colors);
 
 GtkColorSelectionChangePaletteWithScreenFunc gtk_color_selection_set_change_palette_with_screen_hook (GtkColorSelectionChangePaletteWithScreenFunc func);
 
-GDK_DEPRECATED_FOR(gtk_color_chooser_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
 void     gtk_color_selection_set_current_color   (GtkColorSelection *colorsel,
                                                   const GdkColor    *color);
-GDK_DEPRECATED_FOR(gtk_color_chooser_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba)
 void     gtk_color_selection_get_current_color   (GtkColorSelection *colorsel,
                                                   GdkColor          *color);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void     gtk_color_selection_set_previous_color  (GtkColorSelection *colorsel,
                                                   const GdkColor    *color);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void     gtk_color_selection_get_previous_color  (GtkColorSelection *colorsel,
                                                   GdkColor          *color);
 
index a989fc2db34a2520c01ee3880f995a184a8ec6f0..05609c91c73b8de334dbdad74918a72e9f8962fa 100644 (file)
@@ -71,9 +71,9 @@ struct _GtkColorSelectionDialogClass
 
 /* ColorSelectionDialog */
 GType      gtk_color_selection_dialog_get_type            (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(gtk_color_chooser_dialog_new)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_dialog_new)
 GtkWidget* gtk_color_selection_dialog_new                 (const gchar *title);
-GDK_DEPRECATED_FOR(GtkColorChooser)
+GDK_DEPRECATED_IN_3_4_FOR(GtkColorChooser)
 GtkWidget* gtk_color_selection_dialog_get_color_selection (GtkColorSelectionDialog *colorsel);
 
 
index 628f883363d4ea0868a5d0557ebc605d2862432d..0f7dc5d0448f2e9bafecbdb0194d3f39fc8120c5 100644 (file)
@@ -106,58 +106,58 @@ struct _GtkFontSelectionDialogClass
 };
 
 GType        gtk_font_selection_get_type          (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *  gtk_font_selection_new               (void);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *  gtk_font_selection_get_family_list   (GtkFontSelection *fontsel);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *  gtk_font_selection_get_face_list     (GtkFontSelection *fontsel);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *  gtk_font_selection_get_size_entry    (GtkFontSelection *fontsel);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *  gtk_font_selection_get_size_list     (GtkFontSelection *fontsel);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *  gtk_font_selection_get_preview_entry (GtkFontSelection *fontsel);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 PangoFontFamily *
              gtk_font_selection_get_family        (GtkFontSelection *fontsel);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 PangoFontFace *
              gtk_font_selection_get_face          (GtkFontSelection *fontsel);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 gint         gtk_font_selection_get_size          (GtkFontSelection *fontsel);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 gchar*       gtk_font_selection_get_font_name     (GtkFontSelection *fontsel);
 
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 gboolean     gtk_font_selection_set_font_name     (GtkFontSelection *fontsel,
                                                    const gchar      *fontname);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 const gchar* gtk_font_selection_get_preview_text  (GtkFontSelection *fontsel);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 void         gtk_font_selection_set_preview_text  (GtkFontSelection *fontsel,
                                                    const gchar      *text);
 
 
 GType      gtk_font_selection_dialog_get_type          (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *gtk_font_selection_dialog_new               (const gchar            *title);
 
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *gtk_font_selection_dialog_get_ok_button     (GtkFontSelectionDialog *fsd);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *gtk_font_selection_dialog_get_cancel_button (GtkFontSelectionDialog *fsd);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 GtkWidget *gtk_font_selection_dialog_get_font_selection (GtkFontSelectionDialog *fsd);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 gchar*     gtk_font_selection_dialog_get_font_name     (GtkFontSelectionDialog *fsd);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 gboolean   gtk_font_selection_dialog_set_font_name     (GtkFontSelectionDialog *fsd,
                                                         const gchar            *fontname);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 const gchar*
           gtk_font_selection_dialog_get_preview_text   (GtkFontSelectionDialog *fsd);
-GDK_DEPRECATED_FOR(GtkFontChooser)
+GDK_DEPRECATED_IN_3_2_FOR(GtkFontChooser)
 void      gtk_font_selection_dialog_set_preview_text   (GtkFontSelectionDialog *fsd,
                                                         const gchar            *text);
 
index 4ec13bc04100f661207169c426890b19174c66f2..445398d61714aeafb434afe7c31007f2d1c1d059 100644 (file)
@@ -77,24 +77,24 @@ struct _GtkHandleBoxClass
 
 
 GType         gtk_handle_box_get_type             (void) G_GNUC_CONST;
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 GtkWidget*    gtk_handle_box_new                  (void);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void          gtk_handle_box_set_shadow_type      (GtkHandleBox    *handle_box,
                                                    GtkShadowType    type);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 GtkShadowType gtk_handle_box_get_shadow_type      (GtkHandleBox    *handle_box);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void          gtk_handle_box_set_handle_position  (GtkHandleBox    *handle_box,
                                                   GtkPositionType  position);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 GtkPositionType gtk_handle_box_get_handle_position(GtkHandleBox    *handle_box);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void          gtk_handle_box_set_snap_edge        (GtkHandleBox    *handle_box,
                                                   GtkPositionType  edge);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 GtkPositionType gtk_handle_box_get_snap_edge      (GtkHandleBox    *handle_box);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 gboolean      gtk_handle_box_get_child_detached   (GtkHandleBox    *handle_box);
 
 G_END_DECLS
index 9b64a5a9a4a5106f9b55dc9118a9ada7fd42d0f8..00b409c7e852d39469fda9942a10b3ebc41168a7 100644 (file)
@@ -59,7 +59,7 @@ struct _GtkHButtonBoxClass
 
 
 GType      gtk_hbutton_box_get_type (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(gtk_button_box_new)
+GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new)
 GtkWidget* gtk_hbutton_box_new      (void);
 
 G_END_DECLS
index 2387b83c0e07f396f2ffe61cc5206a50eab9503b..fb02f9889d20e5c2612424b65aa8c46ce91be682 100644 (file)
@@ -60,7 +60,7 @@ struct _GtkHBoxClass
 
 
 GType       gtk_hbox_get_type (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(gtk_box_new)
+GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new)
 GtkWidget * gtk_hbox_new      (gboolean homogeneous,
                                gint     spacing);
 
index 4d2ed7c03efc670f26ec73f9992f3e0513bcac7d..96f882442599740eb090d7671eedd1e25c4343f8 100644 (file)
@@ -58,7 +58,7 @@ struct _GtkHPanedClass
 
 
 GType       gtk_hpaned_get_type (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(gtk_paned_new)
+GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new)
 GtkWidget * gtk_hpaned_new      (void);
 
 G_END_DECLS
index d977932adcb657a9f8533babd416fad2d7648f35..c37fd22a8046827eb8322705df933aa978fe91bd 100644 (file)
@@ -58,9 +58,9 @@ struct _GtkHScaleClass
 
 
 GType      gtk_hscale_get_type       (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(gtk_scale_new)
+GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new)
 GtkWidget* gtk_hscale_new            (GtkAdjustment *adjustment);
-GDK_DEPRECATED_FOR(gtk_scale_new_with_range)
+GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new_with_range)
 GtkWidget* gtk_hscale_new_with_range (gdouble        min,
                                       gdouble        max,
                                       gdouble        step);
index f7d04e913ad7b80c2866bb5213cb039b262bc0b5..186026f34a60c5582806f4d5c4afac0ab18c837e 100644 (file)
@@ -58,7 +58,7 @@ struct _GtkHScrollbarClass
 
 
 GType      gtk_hscrollbar_get_type (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(gtk_scrollbar_new)
+GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new)
 GtkWidget* gtk_hscrollbar_new      (GtkAdjustment *adjustment);
 
 G_END_DECLS
index 615d092766ab456dc7f29dfcbb75754fd5ffc308..75d365939b1ae9daa16c9fb978f8750131e5b1fa 100644 (file)
@@ -58,7 +58,7 @@ struct _GtkHSeparatorClass
 
 
 GType      gtk_hseparator_get_type (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(gtk_separator_new)
+GDK_DEPRECATED_IN_3_2_FOR(gtk_separator_new)
 GtkWidget* gtk_hseparator_new      (void);
 
 G_END_DECLS
index bdf2694e5e6ace2f10876b4c33563f1fe4765085..aea8155e5b960df65df7d74cbc28fdffa1492f3f 100644 (file)
@@ -80,27 +80,27 @@ struct _GtkHSVClass
 
 
 GType      gtk_hsv_get_type     (void) G_GNUC_CONST;
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 GtkWidget* gtk_hsv_new          (void);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void       gtk_hsv_set_color    (GtkHSV    *hsv,
                                 double     h,
                                 double     s,
                                 double     v);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void       gtk_hsv_get_color    (GtkHSV    *hsv,
                                 gdouble   *h,
                                 gdouble   *s,
                                 gdouble   *v);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void       gtk_hsv_set_metrics  (GtkHSV    *hsv,
                                 gint       size,
                                 gint       ring_width);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void       gtk_hsv_get_metrics  (GtkHSV    *hsv,
                                 gint      *size,
                                 gint      *ring_width);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 gboolean   gtk_hsv_is_adjusting (GtkHSV    *hsv);
 
 G_END_DECLS
index 6b48f40d00ef78a2ad04db29cc410ec8bf8ea463..ab13e4d5c00ec4ec76902c678cf7cc0a75ffd9ad 100644 (file)
@@ -145,53 +145,53 @@ gboolean  _gtk_rc_match_widget_class     (GSList       *list,
                                           gchar        *path,
                                           gchar        *path_reversed);
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void      gtk_rc_add_default_file       (const gchar *filename);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void      gtk_rc_set_default_files      (gchar **filenames);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gchar**   gtk_rc_get_default_files      (void);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GtkStyle* gtk_rc_get_style              (GtkWidget   *widget);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GtkStyle* gtk_rc_get_style_by_paths     (GtkSettings *settings,
                                          const char  *widget_path,
                                          const char  *class_path,
                                          GType        type);
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gboolean gtk_rc_reparse_all_for_settings (GtkSettings *settings,
                                           gboolean     force_load);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void     gtk_rc_reset_styles             (GtkSettings *settings);
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gchar*   gtk_rc_find_pixmap_in_path (GtkSettings  *settings,
                                      GScanner     *scanner,
                                      const gchar  *pixmap_file);
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void     gtk_rc_parse                   (const gchar *filename);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void      gtk_rc_parse_string           (const gchar *rc_string);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gboolean  gtk_rc_reparse_all            (void);
 
 GType       gtk_rc_style_get_type   (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GtkRcStyle* gtk_rc_style_new        (void);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GtkRcStyle* gtk_rc_style_copy       (GtkRcStyle *orig);
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gchar*      gtk_rc_find_module_in_path (const gchar *module_file);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gchar*      gtk_rc_get_theme_dir       (void);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gchar*      gtk_rc_get_module_dir      (void);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gchar*      gtk_rc_get_im_module_path  (void);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gchar*      gtk_rc_get_im_module_file  (void);
 
 /* private functions/definitions */
@@ -289,19 +289,19 @@ typedef enum {
   GTK_RC_TOKEN_LAST
 } GtkRcTokenType;
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GScanner* gtk_rc_scanner_new    (void);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 guint     gtk_rc_parse_color    (GScanner            *scanner,
                                  GdkColor            *color);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 guint     gtk_rc_parse_color_full (GScanner          *scanner,
                                    GtkRcStyle        *style,
                                    GdkColor          *color);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 guint     gtk_rc_parse_state    (GScanner            *scanner,
                                  GtkStateType        *state);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 guint     gtk_rc_parse_priority (GScanner            *scanner,
                                  GtkPathPriorityType *priority);
 
index 8e2c2c12400e5dc48e984357f412ab34d07e4307..c72bd3f3c08b60a4ba316c2db0cf32c57687367f 100644 (file)
@@ -369,20 +369,20 @@ struct _GtkStyleClass
 };
 
 GType     gtk_style_get_type                 (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GtkStyle* gtk_style_new                      (void);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GtkStyle* gtk_style_copy                     (GtkStyle     *style);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GtkStyle* gtk_style_attach                   (GtkStyle     *style,
                                               GdkWindow    *window);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void      gtk_style_detach                   (GtkStyle     *style);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void      gtk_style_set_background           (GtkStyle     *style,
                                               GdkWindow    *window,
                                               GtkStateType  state_type);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void      gtk_style_apply_default_background (GtkStyle     *style,
                                               cairo_t      *cr,
                                               GdkWindow    *window,
@@ -392,15 +392,15 @@ void      gtk_style_apply_default_background (GtkStyle     *style,
                                               gint          width,
                                               gint          height);
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GtkIconSet* gtk_style_lookup_icon_set        (GtkStyle     *style,
                                               const gchar  *stock_id);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 gboolean    gtk_style_lookup_color           (GtkStyle     *style,
                                               const gchar  *color_name,
                                               GdkColor     *color);
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 GdkPixbuf*  gtk_style_render_icon     (GtkStyle            *style,
                                        const GtkIconSource *source,
                                        GtkTextDirection     direction,
@@ -409,7 +409,7 @@ GdkPixbuf*  gtk_style_render_icon     (GtkStyle            *style,
                                        GtkWidget           *widget,
                                        const gchar         *detail);
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_hline             (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -418,7 +418,7 @@ void gtk_paint_hline             (GtkStyle           *style,
                                   gint                x1,
                                   gint                x2,
                                   gint                y);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_vline             (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -427,7 +427,7 @@ void gtk_paint_vline             (GtkStyle           *style,
                                   gint                y1_,
                                   gint                y2_,
                                   gint                x);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_shadow            (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -438,7 +438,7 @@ void gtk_paint_shadow            (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_arrow             (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -451,7 +451,7 @@ void gtk_paint_arrow             (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_diamond           (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -462,7 +462,7 @@ void gtk_paint_diamond           (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_box               (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -473,7 +473,7 @@ void gtk_paint_box               (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_flat_box          (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -484,7 +484,7 @@ void gtk_paint_flat_box          (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_check             (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -495,7 +495,7 @@ void gtk_paint_check             (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_option            (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -506,7 +506,7 @@ void gtk_paint_option            (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_tab               (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -517,7 +517,7 @@ void gtk_paint_tab               (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_shadow_gap        (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -531,7 +531,7 @@ void gtk_paint_shadow_gap        (GtkStyle           *style,
                                   GtkPositionType     gap_side,
                                   gint                gap_x,
                                   gint                gap_width);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_box_gap           (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -545,7 +545,7 @@ void gtk_paint_box_gap           (GtkStyle           *style,
                                   GtkPositionType     gap_side,
                                   gint                gap_x,
                                   gint                gap_width);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_extension         (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -557,7 +557,7 @@ void gtk_paint_extension         (GtkStyle           *style,
                                   gint                width,
                                   gint                height,
                                   GtkPositionType     gap_side);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_focus             (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -567,7 +567,7 @@ void gtk_paint_focus             (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_slider            (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -579,7 +579,7 @@ void gtk_paint_slider            (GtkStyle           *style,
                                   gint                width,
                                   gint                height,
                                   GtkOrientation      orientation);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_handle            (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -591,7 +591,7 @@ void gtk_paint_handle            (GtkStyle           *style,
                                   gint                width,
                                   gint                height,
                                   GtkOrientation      orientation);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_expander          (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -600,7 +600,7 @@ void gtk_paint_expander          (GtkStyle           *style,
                                   gint                x,
                                   gint                y,
                                   GtkExpanderStyle    expander_style);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_layout            (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -610,7 +610,7 @@ void gtk_paint_layout            (GtkStyle           *style,
                                   gint                x,
                                   gint                y,
                                   PangoLayout        *layout);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_resize_grip       (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -621,7 +621,7 @@ void gtk_paint_resize_grip       (GtkStyle           *style,
                                   gint                y,
                                   gint                width,
                                   gint                height);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_paint_spinner           (GtkStyle           *style,
                                   cairo_t            *cr,
                                   GtkStateType        state_type,
@@ -633,17 +633,17 @@ void gtk_paint_spinner           (GtkStyle           *style,
                                   gint                width,
                                   gint                height);
 
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_style_get_style_property (GtkStyle    *style,
                                    GType        widget_type,
                                    const gchar *property_name,
                                    GValue      *value);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_style_get_valist         (GtkStyle    *style,
                                    GType        widget_type,
                                    const gchar *first_property_name,
                                    va_list      var_args);
-GDK_DEPRECATED_FOR(GtkStyleContext)
+GDK_DEPRECATED_IN_3_0_FOR(GtkStyleContext)
 void gtk_style_get                (GtkStyle    *style,
                                    GType        widget_type,
                                    const gchar *first_property_name,
index 121447c8c33ec2b72682bc2874b42420fdc30b46..a4cc1dd182bd6bd61fa763be10bcf670f30ac8b9 100644 (file)
@@ -99,15 +99,15 @@ struct _GtkTableRowCol
 
 
 GType     gtk_table_get_type         (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 GtkWidget* gtk_table_new             (guint            rows,
                                       guint            columns,
                                       gboolean         homogeneous);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 void      gtk_table_resize           (GtkTable        *table,
                                       guint            rows,
                                       guint            columns);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 void      gtk_table_attach           (GtkTable        *table,
                                       GtkWidget       *child,
                                       guint            left_attach,
@@ -118,43 +118,43 @@ void         gtk_table_attach           (GtkTable        *table,
                                       GtkAttachOptions yoptions,
                                       guint            xpadding,
                                       guint            ypadding);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 void      gtk_table_attach_defaults  (GtkTable        *table,
                                       GtkWidget       *widget,
                                       guint            left_attach,
                                       guint            right_attach,
                                       guint            top_attach,
                                       guint            bottom_attach);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 void      gtk_table_set_row_spacing  (GtkTable        *table,
                                       guint            row,
                                       guint            spacing);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 guint      gtk_table_get_row_spacing  (GtkTable        *table,
                                       guint            row);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 void      gtk_table_set_col_spacing  (GtkTable        *table,
                                       guint            column,
                                       guint            spacing);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 guint      gtk_table_get_col_spacing  (GtkTable        *table,
                                       guint            column);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 void      gtk_table_set_row_spacings (GtkTable        *table,
                                       guint            spacing);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 guint      gtk_table_get_default_row_spacing (GtkTable        *table);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 void      gtk_table_set_col_spacings (GtkTable        *table,
                                       guint            spacing);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 guint      gtk_table_get_default_col_spacing (GtkTable        *table);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 void      gtk_table_set_homogeneous  (GtkTable        *table,
                                       gboolean         homogeneous);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 gboolean   gtk_table_get_homogeneous  (GtkTable        *table);
-GDK_DEPRECATED_FOR(GtkGrid)
+GDK_DEPRECATED_IN_3_4_FOR(GtkGrid)
 void       gtk_table_get_size         (GtkTable        *table,
                                        guint           *rows,
                                        guint           *columns);
index c51bd143419f365c07bda5ed297bb7ea51988569..79dd300616f501e9abd62c848eb74eabda908c35 100644 (file)
@@ -68,6 +68,7 @@ struct _GtkTearoffMenuItemClass
 
 
 GType     gtk_tearoff_menu_item_get_type     (void) G_GNUC_CONST;
+GDK_DEPRECATED_IN_3_4
 GtkWidget* gtk_tearoff_menu_item_new         (void);
 
 G_END_DECLS
index f53a09d01d0f367b8bd4089e08262080a5658e4e..c8d85dc3baca8c91df4348f9ca7c53f8244e4151 100644 (file)
@@ -58,6 +58,7 @@ struct _GtkVButtonBoxClass
 
 
 GType      gtk_vbutton_box_get_type (void) G_GNUC_CONST;
+GDK_DEPRECATED_IN_3_2_FOR(gtk_button_box_new)
 GtkWidget *gtk_vbutton_box_new      (void);
 
 G_END_DECLS
index 734b60f6e47d07c99340ce66682494c6d0a7a55b..91a9d3953e12a19f7565542bf4a9414f2bc7bce2 100644 (file)
@@ -58,7 +58,7 @@ struct _GtkVBoxClass
 
 
 GType       gtk_vbox_get_type (void) G_GNUC_CONST;
-GDK_DEPRECATED_FOR(gtk_box_new)
+GDK_DEPRECATED_IN_3_2_FOR(gtk_box_new)
 GtkWidget * gtk_vbox_new      (gboolean homogeneous,
                                gint     spacing);
 
index a42efa3edc2d80fc824cb1abc78d08a164b7e533..d9d19a1b789ca83ad2c858732e955df90240ea3a 100644 (file)
@@ -58,6 +58,7 @@ struct _GtkVPanedClass
 
 
 GType       gtk_vpaned_get_type (void) G_GNUC_CONST;
+GDK_DEPRECATED_IN_3_2_FOR(gtk_paned_new)
 GtkWidget * gtk_vpaned_new      (void);
 
 G_END_DECLS
index c2fea59e3c000a4db1e8a006ece7751b86060801..81a290fa8112ecebe59bf40af09e47612503baa0 100644 (file)
@@ -64,7 +64,9 @@ struct _GtkVScaleClass
 
 
 GType      gtk_vscale_get_type       (void) G_GNUC_CONST;
+GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new)
 GtkWidget* gtk_vscale_new            (GtkAdjustment *adjustment);
+GDK_DEPRECATED_IN_3_2_FOR(gtk_scale_new_with_range)
 GtkWidget* gtk_vscale_new_with_range (gdouble        min,
                                       gdouble        max,
                                       gdouble        step);
index b1ac109d2e595da1a4227ad37d336393ca0a5e78..ff9671ef1bd366b77fd11c54d48db9ebaa48037a 100644 (file)
@@ -64,6 +64,7 @@ struct _GtkVScrollbarClass
 
 
 GType      gtk_vscrollbar_get_type (void) G_GNUC_CONST;
+GDK_DEPRECATED_IN_3_2_FOR(gtk_scrollbar_new)
 GtkWidget* gtk_vscrollbar_new      (GtkAdjustment *adjustment);
 
 G_END_DECLS
index 5a0e3df8476b55145726081f1a3b0c9d2e5e591d..fc57466618a2b4e0c703a022e17da24cdf198156 100644 (file)
@@ -64,6 +64,7 @@ struct _GtkVSeparatorClass
 
 
 GType      gtk_vseparator_get_type (void) G_GNUC_CONST;
+GDK_DEPRECATED_IN_3_2_FOR(gtk_separator_new)
 GtkWidget* gtk_vseparator_new      (void);
 
 G_END_DECLS
index b174294fb3bfbacc17a19484dfb41747f75bcd8c..b5a66d3978b1916aa02f1167b575dfa7be941aec 100644 (file)
@@ -159,6 +159,7 @@ void                   gtk_about_dialog_set_logo               (GtkAboutDialog
 const gchar *          gtk_about_dialog_get_logo_icon_name     (GtkAboutDialog  *about);
 void                   gtk_about_dialog_set_logo_icon_name     (GtkAboutDialog  *about,
                                                                 const gchar     *icon_name);
+GDK_AVAILABLE_IN_3_4
 void                  gtk_about_dialog_add_credit_section      (GtkAboutDialog  *about,
                                                                 const gchar     *section_name,
                                                                 const gchar    **people);
index 0996bc62c7d28227ebbfd8757bf6e6656ca230f9..be89b240977c1d534e9fcc3b420b677fe78afba2 100644 (file)
@@ -163,18 +163,21 @@ gboolean gtk_accelerator_valid                  (guint            keyval,
 void    gtk_accelerator_parse                (const gchar     *accelerator,
                                               guint           *accelerator_key,
                                               GdkModifierType *accelerator_mods);
+GDK_AVAILABLE_IN_3_4
 void gtk_accelerator_parse_with_keycode       (const gchar     *accelerator,
                                                guint           *accelerator_key,
                                                guint          **accelerator_codes,
                                                GdkModifierType *accelerator_mods);
 gchar*  gtk_accelerator_name                 (guint            accelerator_key,
                                               GdkModifierType  accelerator_mods);
+GDK_AVAILABLE_IN_3_4
 gchar*  gtk_accelerator_name_with_keycode    (GdkDisplay      *display,
                                                guint            accelerator_key,
                                                guint            keycode,
                                                GdkModifierType  accelerator_mods);
 gchar*   gtk_accelerator_get_label            (guint           accelerator_key,
                                                GdkModifierType accelerator_mods);
+GDK_AVAILABLE_IN_3_4
 gchar*   gtk_accelerator_get_label_with_keycode (GdkDisplay      *display,
                                                  guint            accelerator_key,
                                                  guint            keycode,
index 31a6c91adb2df56ce8593720628ba8805c652d96..342fc0b5cfbbb4ffffc870d16dd4a58ffaa316a4 100644 (file)
@@ -67,7 +67,7 @@ void       gtk_accessible_set_widget               (GtkAccessible *accessible,
                                                     GtkWidget     *widget);
 GtkWidget *gtk_accessible_get_widget               (GtkAccessible *accessible);
 
-GDK_DEPRECATED_FOR(gtk_accessible_set_widget)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_accessible_set_widget)
 void       gtk_accessible_connect_widget_destroyed (GtkAccessible *accessible);
 
 G_END_DECLS
index bef9bde3a96d722ec7c11c9cd6e80c710765fb6a..ee769bb3fda6b8452ed3db49089cc382cc076ffa 100644 (file)
@@ -23,6 +23,7 @@
 #define __GTK_ACTIONABLE_H__
 
 #include <glib-object.h>
+#include <gdk/gdk.h>
 
 G_BEGIN_DECLS
 
@@ -49,20 +50,27 @@ struct _GtkActionableInterface
                                                  GVariant      *action_target_value);
 };
 
+GDK_AVAILABLE_IN_3_4
 GType                   gtk_actionable_get_type                         (void) G_GNUC_CONST;
 
+GDK_AVAILABLE_IN_3_4
 const gchar *           gtk_actionable_get_action_name                  (GtkActionable *actionable);
+GDK_AVAILABLE_IN_3_4
 void                    gtk_actionable_set_action_name                  (GtkActionable *actionable,
                                                                          const gchar   *action_name);
 
+GDK_AVAILABLE_IN_3_4
 GVariant *              gtk_actionable_get_action_target_value          (GtkActionable *actionable);
+GDK_AVAILABLE_IN_3_4
 void                    gtk_actionable_set_action_target_value          (GtkActionable *actionable,
                                                                          GVariant      *target_value);
 
+GDK_AVAILABLE_IN_3_4
 void                    gtk_actionable_set_action_target                (GtkActionable *actionable,
                                                                          const gchar   *format_string,
                                                                          ...);
 
+GDK_AVAILABLE_IN_3_4
 void                    gtk_actionable_set_detailed_action_name         (GtkActionable *actionable,
                                                                          const gchar   *detailed_action_name);
 
index d3ff03a6ac84cac6d9e54ffe2abf9e93536edf84..e9ccd154949ae83f08ff1e183b0cbbb24168f31a 100644 (file)
@@ -115,7 +115,7 @@ void       gtk_adjustment_configure             (GtkAdjustment   *adjustment,
                                                  gdouble          step_increment,
                                                  gdouble          page_increment,
                                                  gdouble          page_size);
-
+GDK_AVAILABLE_IN_3_2
 gdouble    gtk_adjustment_get_minimum_increment (GtkAdjustment   *adjustment);
 
 G_END_DECLS
index aeb9d9c62363261f7bb3e2361be135721cd58f80..0ca87c8f04c01587730ded6283d0a2cd0dacd03e 100644 (file)
@@ -80,8 +80,10 @@ void     gtk_app_chooser_button_set_heading           (GtkAppChooserButton *self
                                                        const gchar         *heading);
 const gchar *
          gtk_app_chooser_button_get_heading           (GtkAppChooserButton *self);
+GDK_AVAILABLE_IN_3_2
 void     gtk_app_chooser_button_set_show_default_item (GtkAppChooserButton *self,
                                                        gboolean             setting);
+GDK_AVAILABLE_IN_3_2
 gboolean gtk_app_chooser_button_get_show_default_item (GtkAppChooserButton *self);
 
 G_END_DECLS
index cae9e64d7cddfc962364cd283a201fc1d12234a4..30d095989e5e5e80e2a513d6b7799fa517545479 100644 (file)
@@ -75,18 +75,24 @@ void             gtk_application_remove_window (GtkApplication    *application,
                                                 GtkWindow         *window);
 GList *          gtk_application_get_windows   (GtkApplication    *application);
 
+GDK_AVAILABLE_IN_3_4
 GMenuModel *     gtk_application_get_app_menu  (GtkApplication    *application);
+GDK_AVAILABLE_IN_3_4
 void             gtk_application_set_app_menu  (GtkApplication    *application,
                                                 GMenuModel        *app_menu);
 
+GDK_AVAILABLE_IN_3_4
 GMenuModel *     gtk_application_get_menubar   (GtkApplication    *application);
+GDK_AVAILABLE_IN_3_4
 void             gtk_application_set_menubar   (GtkApplication    *application,
                                                 GMenuModel        *menubar);
 
+GDK_AVAILABLE_IN_3_4
 void             gtk_application_add_accelerator    (GtkApplication  *application,
                                                      const gchar     *accelerator,
                                                      const gchar     *action_name,
                                                      GVariant        *parameter);
+GDK_AVAILABLE_IN_3_4
 void             gtk_application_remove_accelerator (GtkApplication *application,
                                                      const gchar    *action_name,
                                                      GVariant       *parameter);
@@ -99,12 +105,15 @@ typedef enum
   GTK_APPLICATION_INHIBIT_IDLE    = (1 << 3)
 } GtkApplicationInhibitFlags;
 
+GDK_AVAILABLE_IN_3_4
 guint            gtk_application_inhibit            (GtkApplication             *application,
                                                      GtkWindow                  *window,
                                                      GtkApplicationInhibitFlags  flags,
                                                      const gchar                *reason);
+GDK_AVAILABLE_IN_3_4
 void             gtk_application_uninhibit          (GtkApplication             *application,
                                                      guint                       cookie);
+GDK_AVAILABLE_IN_3_4
 gboolean         gtk_application_is_inhibited       (GtkApplication             *application,
                                                      GtkApplicationInhibitFlags  flags);
 
index 4210a187732a5f8506fd2c71915f95432765c43e..4a1387fa31e359770a4c556cbf0bb72d469d4bef 100644 (file)
@@ -58,11 +58,15 @@ struct _GtkApplicationWindowClass
   gpointer padding[14];
 };
 
+GDK_AVAILABLE_IN_3_4
 GType       gtk_application_window_get_type          (void) G_GNUC_CONST;
+GDK_AVAILABLE_IN_3_4
 GtkWidget * gtk_application_window_new               (GtkApplication      *application);
 
+GDK_AVAILABLE_IN_3_4
 void        gtk_application_window_set_show_menubar (GtkApplicationWindow *window,
                                                      gboolean              show_menubar);
+GDK_AVAILABLE_IN_3_4
 gboolean    gtk_application_window_get_show_menubar (GtkApplicationWindow *window);
 
 G_END_DECLS
index 76f76ddda19657a09f0ef1f0e5865562036636dc..c0e2cd037472a5a488117bc264e9768066107bad 100644 (file)
@@ -139,6 +139,7 @@ gint                  gtk_assistant_append_page           (GtkAssistant
 gint                  gtk_assistant_insert_page           (GtkAssistant         *assistant,
                                                            GtkWidget            *page,
                                                            gint                  position);
+GDK_AVAILABLE_IN_3_2
 void                  gtk_assistant_remove_page           (GtkAssistant         *assistant,
                                                            gint                  page_num);
 void                  gtk_assistant_set_forward_page_func (GtkAssistant         *assistant,
@@ -156,18 +157,18 @@ void                  gtk_assistant_set_page_title        (GtkAssistant
 const gchar *         gtk_assistant_get_page_title        (GtkAssistant         *assistant,
                                                            GtkWidget            *page);
 
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_2
 void                  gtk_assistant_set_page_header_image (GtkAssistant         *assistant,
                                                            GtkWidget            *page,
                                                            GdkPixbuf            *pixbuf);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_2
 GdkPixbuf            *gtk_assistant_get_page_header_image (GtkAssistant         *assistant,
                                                            GtkWidget            *page);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_2
 void                  gtk_assistant_set_page_side_image   (GtkAssistant         *assistant,
                                                            GtkWidget            *page,
                                                            GdkPixbuf            *pixbuf);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_2
 GdkPixbuf            *gtk_assistant_get_page_side_image   (GtkAssistant         *assistant,
                                                            GtkWidget            *page);
 
index 878a997b81baff0c2dcd9c7a55306a3481f945d4..178266529ee769b5fed20d4e0a24c527a7069041 100644 (file)
@@ -78,10 +78,10 @@ gboolean          gtk_button_box_get_child_secondary (GtkButtonBox      *widget,
 void              gtk_button_box_set_child_secondary (GtkButtonBox      *widget,
                                                       GtkWidget         *child,
                                                       gboolean           is_secondary);
-
+GDK_AVAILABLE_IN_3_2
 gboolean          gtk_button_box_get_child_non_homogeneous (GtkButtonBox *widget,
                                                             GtkWidget    *child);
-
+GDK_AVAILABLE_IN_3_2
 void              gtk_button_box_set_child_non_homogeneous (GtkButtonBox *widget,
                                                             GtkWidget    *child,
                                                             gboolean      non_homogeneous);
index 0ebca6e5cdadcdd126fd6c48357291e15f965b18..a21455c88306810419d56ab91bfa9a596277da33 100644 (file)
@@ -180,7 +180,7 @@ void           gtk_binding_entry_remove      (GtkBindingSet       *binding_set,
                                               guint                keyval,
                                               GdkModifierType      modifiers);
 
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_0
 void           gtk_binding_set_add_path      (GtkBindingSet       *binding_set,
                                               GtkPathType          path_type,
                                               const gchar         *path_pattern,
index f27eb87c343d78fdf20f18ad0694d68c5c44720c..02e65f801dd2c9dd400a944b9260d18ffa94b2ff 100644 (file)
@@ -194,7 +194,7 @@ void               gtk_cell_renderer_get_aligned_area               (GtkCellRend
                                                                     const GdkRectangle *cell_area,
                                                                     GdkRectangle       *aligned_area);
 
-GDK_DEPRECATED_FOR(gtk_cell_renderer_get_preferred_size)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_cell_renderer_get_preferred_size)
 void             gtk_cell_renderer_get_size       (GtkCellRenderer      *cell,
                                                    GtkWidget            *widget,
                                                    const GdkRectangle   *cell_area,
index 797c7a51c69eaa15f017bc2721627bcc8177559e..b0755f0d973a0fcd91a65980e450b04dee7b3bd0 100644 (file)
@@ -84,11 +84,11 @@ gboolean          gtk_cell_view_get_fit_model           (GtkCellView     *cell_v
 void              gtk_cell_view_set_fit_model           (GtkCellView     *cell_view,
                                                          gboolean         fit_model);
 
-GDK_DEPRECATED_FOR(gtk_widget_get_preferred_size)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_size)
 gboolean          gtk_cell_view_get_size_of_row         (GtkCellView     *cell_view,
                                                          GtkTreePath     *path,
                                                          GtkRequisition  *requisition);
-GDK_DEPRECATED_FOR(gtk_cell_view_set_background_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_cell_view_set_background_rgba)
 void              gtk_cell_view_set_background_color    (GtkCellView     *cell_view,
                                                          const GdkColor  *color);
 
index 47ed059a5629df62c78748b36e303127985da865..855902530cba2deba4171eae8cb314187459048f 100644 (file)
@@ -80,28 +80,28 @@ void         gtk_color_button_set_title     (GtkColorButton *button,
                                              const gchar    *title);
 const gchar *gtk_color_button_get_title     (GtkColorButton *button);
 
-GDK_DEPRECATED_FOR(gtk_color_button_new_with_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_new_with_rgba)
 GtkWidget *gtk_color_button_new_with_color (const GdkColor *color);
-GDK_DEPRECATED_FOR(gtk_color_button_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_set_rgba)
 void       gtk_color_button_set_color      (GtkColorButton *button,
                                             const GdkColor *color);
-GDK_DEPRECATED_FOR(gtk_color_button_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_get_rgba)
 void       gtk_color_button_get_color      (GtkColorButton *button,
                                             GdkColor       *color);
-GDK_DEPRECATED_FOR(gtk_color_button_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_set_rgba)
 void       gtk_color_button_set_alpha      (GtkColorButton *button,
                                             guint16         alpha);
-GDK_DEPRECATED_FOR(gtk_color_button_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_button_get_rgba)
 guint16    gtk_color_button_get_alpha      (GtkColorButton *button);
-GDK_DEPRECATED_FOR(gtk_color_chooser_set_use_alpha)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_use_alpha)
 void         gtk_color_button_set_use_alpha (GtkColorButton *button,
                                              gboolean        use_alpha);
-GDK_DEPRECATED_FOR(gtk_color_chooser_get_use_alpha)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_use_alpha)
 gboolean     gtk_color_button_get_use_alpha (GtkColorButton *button);
-GDK_DEPRECATED_FOR(gtk_color_chooser_set_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_set_rgba)
 void         gtk_color_button_set_rgba      (GtkColorButton *button,
                                              const GdkRGBA  *rgba);
-GDK_DEPRECATED_FOR(gtk_color_chooser_get_rgba)
+GDK_DEPRECATED_IN_3_4_FOR(gtk_color_chooser_get_rgba)
 void         gtk_color_button_get_rgba      (GtkColorButton *button,
                                              GdkRGBA        *rgba);
 
index 052d52d1827cf7d48884669f0a53e4943499ec8e..d97087bd0e6be072d9e4f81a051ddaabb3a7abce 100644 (file)
@@ -61,16 +61,22 @@ struct _GtkColorChooserInterface
   gpointer padding[12];
 };
 
+GDK_AVAILABLE_IN_3_4
 GType    gtk_color_chooser_get_type        (void) G_GNUC_CONST;
 
+GDK_AVAILABLE_IN_3_4
 void     gtk_color_chooser_get_rgba       (GtkColorChooser *chooser,
                                            GdkRGBA         *color);
+GDK_AVAILABLE_IN_3_4
 void     gtk_color_chooser_set_rgba       (GtkColorChooser *chooser,
                                            const GdkRGBA   *color);
+GDK_AVAILABLE_IN_3_4
 gboolean gtk_color_chooser_get_use_alpha  (GtkColorChooser *chooser);
+GDK_AVAILABLE_IN_3_4
 void     gtk_color_chooser_set_use_alpha  (GtkColorChooser *chooser,
                                            gboolean         use_alpha);
 
+GDK_AVAILABLE_IN_3_4
 void     gtk_color_chooser_add_palette    (GtkColorChooser *chooser,
                                            gboolean         horizontal,
                                            gint             colors_per_line,
index c67be0e360b2957ce81b14be3af823f833a4333c..ddec5189c2dfaefd2cc14e05fe0a2dbc66e5b6b8 100644 (file)
@@ -58,8 +58,10 @@ struct _GtkColorChooserDialogClass
   void (*_gtk_reserved4) (void);
 };
 
+GDK_AVAILABLE_IN_3_4
 GType       gtk_color_chooser_dialog_get_type (void) G_GNUC_CONST;
 
+GDK_AVAILABLE_IN_3_4
 GtkWidget * gtk_color_chooser_dialog_new      (const gchar *title,
                                                GtkWindow   *parent);
 
index 177a719120f8a21d182dbeb23a731ab33b77784b..6371a205d3f4996621892a867ec33472b0298f3c 100644 (file)
@@ -62,8 +62,10 @@ struct _GtkColorChooserWidgetClass
   void (*_gtk_reserved8) (void);
 };
 
+GDK_AVAILABLE_IN_3_4
 GType       gtk_color_chooser_widget_get_type (void) G_GNUC_CONST;
 
+GDK_AVAILABLE_IN_3_4
 GtkWidget * gtk_color_chooser_widget_new      (void);
 
 G_END_DECLS
index 082b41edb1b391b59f6e14f6c37efae66f72fb20..4d2244b8c4bf5afac70c5972e1f3183316d9d1ee 100644 (file)
@@ -197,6 +197,7 @@ void             gtk_container_child_get_property           (GtkContainer      *container,
                                                         const gchar       *property_name,
                                                         GValue            *value);
 
+GDK_AVAILABLE_IN_3_2
 void gtk_container_child_notify (GtkContainer *container,
                                  GtkWidget    *child,
                                  const gchar  *child_property);
index e1d0cfa84a856a2cb1edf7f03ffc2aec3d872abb..3d333944c00ee4c65bd713dad8627fc27f8b87d0 100644 (file)
@@ -74,6 +74,7 @@ GType gtk_css_provider_get_type (void) G_GNUC_CONST;
 
 GtkCssProvider * gtk_css_provider_new (void);
 
+GDK_AVAILABLE_IN_3_2
 char *           gtk_css_provider_to_string      (GtkCssProvider  *provider);
 
 gboolean         gtk_css_provider_load_from_data (GtkCssProvider  *css_provider,
index 06222eb467a6b38557a50133024f0aba63bd92b1..742abeb96d27318bd84202a90991d71192b20bb5 100644 (file)
@@ -21,6 +21,7 @@
 #define __GTK_CSS_SECTION_H__
 
 #include <gio/gio.h>
+#include <gdk/gdk.h>
 
 G_BEGIN_DECLS
 
@@ -66,17 +67,27 @@ typedef enum
 
 typedef struct _GtkCssSection GtkCssSection;
 
+GDK_AVAILABLE_IN_3_2
 GType              gtk_css_section_get_type            (void) G_GNUC_CONST;
 
+GDK_AVAILABLE_IN_3_2
 GtkCssSection *    gtk_css_section_ref                 (GtkCssSection        *section);
+GDK_AVAILABLE_IN_3_2
 void               gtk_css_section_unref               (GtkCssSection        *section);
 
+GDK_AVAILABLE_IN_3_2
 GtkCssSectionType  gtk_css_section_get_section_type    (const GtkCssSection  *section);
+GDK_AVAILABLE_IN_3_2
 GtkCssSection *    gtk_css_section_get_parent          (const GtkCssSection  *section);
+GDK_AVAILABLE_IN_3_2
 GFile *            gtk_css_section_get_file            (const GtkCssSection  *section);
+GDK_AVAILABLE_IN_3_2
 guint              gtk_css_section_get_start_line      (const GtkCssSection  *section);
+GDK_AVAILABLE_IN_3_2
 guint              gtk_css_section_get_start_position  (const GtkCssSection  *section);
+GDK_AVAILABLE_IN_3_2
 guint              gtk_css_section_get_end_line        (const GtkCssSection  *section);
+GDK_AVAILABLE_IN_3_2
 guint              gtk_css_section_get_end_position    (const GtkCssSection  *section);
 
 G_END_DECLS
index 1a7afe7c72ac4e6049364247cf7c60b21663d2a3..962bc98d5fafdccf889749fcea651aa40b619921 100644 (file)
@@ -155,6 +155,7 @@ void gtk_drag_source_set_icon_stock   (GtkWidget       *widget,
                                       const gchar     *stock_id);
 void gtk_drag_source_set_icon_name    (GtkWidget       *widget,
                                       const gchar     *icon_name);
+GDK_AVAILABLE_IN_3_2
 void gtk_drag_source_set_icon_gicon   (GtkWidget       *widget,
                                       GIcon           *icon);
 
@@ -188,6 +189,7 @@ void gtk_drag_set_icon_name   (GdkDragContext *context,
                               const gchar    *icon_name,
                               gint            hot_x,
                               gint            hot_y);
+GDK_AVAILABLE_IN_3_2
 void gtk_drag_set_icon_gicon  (GdkDragContext *context,
                               GIcon          *icon,
                               gint            hot_x,
index 0bebaa201576e8fe929871d25a5f849dad614146..eac84bc1ad56cccdb1aaf28efd3247382d2a4c68 100644 (file)
@@ -149,10 +149,10 @@ void       gtk_entry_set_has_frame              (GtkEntry      *entry,
                                                  gboolean       setting);
 gboolean   gtk_entry_get_has_frame              (GtkEntry      *entry);
 
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void             gtk_entry_set_inner_border     (GtkEntry        *entry,
                                                  const GtkBorder *border);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 const GtkBorder* gtk_entry_get_inner_border     (GtkEntry        *entry);
 
 void       gtk_entry_set_overwrite_mode         (GtkEntry      *entry,
@@ -214,9 +214,9 @@ void           gtk_entry_set_progress_pulse_step (GtkEntry     *entry,
 gdouble        gtk_entry_get_progress_pulse_step (GtkEntry     *entry);
 
 void           gtk_entry_progress_pulse          (GtkEntry     *entry);
-
+GDK_AVAILABLE_IN_3_2
 const gchar*   gtk_entry_get_placeholder_text    (GtkEntry             *entry);
-
+GDK_AVAILABLE_IN_3_2
 void           gtk_entry_set_placeholder_text    (GtkEntry             *entry,
                                                   const gchar          *text);
 /* Setting and managing icons
index 0b19e6dcafc8abf86b9c5110ddbeb29f08829b61..9d9a4308f8fad0b4d69d252459da4f186976a81c 100644 (file)
@@ -114,6 +114,7 @@ void                gtk_entry_completion_set_match_func         (GtkEntryComplet
 void                gtk_entry_completion_set_minimum_key_length (GtkEntryCompletion          *completion,
                                                                  gint                         length);
 gint                gtk_entry_completion_get_minimum_key_length (GtkEntryCompletion          *completion);
+GDK_AVAILABLE_IN_3_4
 gchar *             gtk_entry_completion_compute_prefix         (GtkEntryCompletion          *completion,
                                                                  const char                  *key);
 void                gtk_entry_completion_complete               (GtkEntryCompletion          *completion);
index c88be57c5b71c3bf2ea44e11fcbc64fecd1978a8..d84153ab1ee675815a36c7c534121bc011495a74 100644 (file)
@@ -98,9 +98,10 @@ GtkWidget            *gtk_expander_get_label_widget    (GtkExpander *expander);
 void                  gtk_expander_set_label_fill      (GtkExpander *expander,
                                                        gboolean     label_fill);
 gboolean              gtk_expander_get_label_fill      (GtkExpander *expander);
-
+GDK_AVAILABLE_IN_3_2
 void                  gtk_expander_set_resize_toplevel (GtkExpander *expander,
                                                         gboolean     resize_toplevel);
+GDK_AVAILABLE_IN_3_2
 gboolean              gtk_expander_get_resize_toplevel (GtkExpander *expander);
 
 G_END_DECLS
index 6d5fabb0021d8573693b6216b885c7e069a1ec6d..a33220cbb2d696eda8a88e7f992bc7188532b616 100644 (file)
@@ -76,27 +76,40 @@ struct _GtkFontChooserIface
   gpointer padding[12];
 };
 
+GDK_AVAILABLE_IN_3_2
 GType            gtk_font_chooser_get_type                 (void) G_GNUC_CONST;
 
+GDK_AVAILABLE_IN_3_2
 PangoFontFamily *gtk_font_chooser_get_font_family          (GtkFontChooser   *fontchooser);
+GDK_AVAILABLE_IN_3_2
 PangoFontFace   *gtk_font_chooser_get_font_face            (GtkFontChooser   *fontchooser);
+GDK_AVAILABLE_IN_3_2
 gint             gtk_font_chooser_get_font_size            (GtkFontChooser   *fontchooser);
 
+GDK_AVAILABLE_IN_3_2
 PangoFontDescription *
                  gtk_font_chooser_get_font_desc            (GtkFontChooser             *fontchooser);
+GDK_AVAILABLE_IN_3_2
 void             gtk_font_chooser_set_font_desc            (GtkFontChooser             *fontchooser,
                                                             const PangoFontDescription *font_desc);
 
+GDK_AVAILABLE_IN_3_2
 gchar*           gtk_font_chooser_get_font                 (GtkFontChooser   *fontchooser);
 
+GDK_AVAILABLE_IN_3_2
 void             gtk_font_chooser_set_font                 (GtkFontChooser   *fontchooser,
                                                             const gchar      *fontname);
+GDK_AVAILABLE_IN_3_2
 gchar*           gtk_font_chooser_get_preview_text         (GtkFontChooser   *fontchooser);
+GDK_AVAILABLE_IN_3_2
 void             gtk_font_chooser_set_preview_text         (GtkFontChooser   *fontchooser,
                                                             const gchar      *text);
+GDK_AVAILABLE_IN_3_2
 gboolean         gtk_font_chooser_get_show_preview_entry   (GtkFontChooser   *fontchooser);
+GDK_AVAILABLE_IN_3_2
 void             gtk_font_chooser_set_show_preview_entry   (GtkFontChooser   *fontchooser,
                                                             gboolean          show_preview_entry);
+GDK_AVAILABLE_IN_3_2
 void             gtk_font_chooser_set_filter_func          (GtkFontChooser   *fontchooser,
                                                             GtkFontFilterFunc filter,
                                                             gpointer          user_data,
index 7fc18628b6e4621c4478f517a9654ed55d622377..080947152c0aafdc07d71959060dea242251eb28 100644 (file)
@@ -58,7 +58,9 @@ struct _GtkFontChooserDialogClass
   void (*_gtk_reserved4) (void);
 };
 
+GDK_AVAILABLE_IN_3_2
 GType      gtk_font_chooser_dialog_get_type         (void) G_GNUC_CONST;
+GDK_AVAILABLE_IN_3_2
 GtkWidget* gtk_font_chooser_dialog_new              (const gchar          *title,
                                                      GtkWindow            *parent);
 
index 9a3934f321eb6c7315c8ac42c0a2f5fde08e34a7..a106d1f34fcfc0f15b253b6a36dfc3f2230b5b3a 100644 (file)
@@ -62,8 +62,10 @@ struct _GtkFontChooserWidgetClass
   void (*_gtk_reserved8) (void);
 };
 
+GDK_AVAILABLE_IN_3_2
 GType        gtk_font_chooser_widget_get_type                 (void) G_GNUC_CONST;
 
+GDK_AVAILABLE_IN_3_2
 GtkWidget*   gtk_font_chooser_widget_new                      (void);
 
 G_END_DECLS
index 491ba2232198cff47d6fd2aba7cf653c5e5f3168..5aa8760c2a01ccf17005d6d35dfe02362e6b23d3 100644 (file)
@@ -79,13 +79,17 @@ void       gtk_grid_attach_next_to         (GtkGrid         *grid,
                                             GtkPositionType  side,
                                             gint             width,
                                             gint             height);
+GDK_AVAILABLE_IN_3_2
 GtkWidget *gtk_grid_get_child_at           (GtkGrid         *grid,
                                             gint             left,
                                             gint             top);
+GDK_AVAILABLE_IN_3_2
 void       gtk_grid_insert_row             (GtkGrid         *grid,
                                             gint             position);
+GDK_AVAILABLE_IN_3_2
 void       gtk_grid_insert_column          (GtkGrid         *grid,
                                             gint             position);
+GDK_AVAILABLE_IN_3_2
 void       gtk_grid_insert_next_to         (GtkGrid         *grid,
                                             GtkWidget       *sibling,
                                             GtkPositionType  side);
index 4100205df7e9c43fea4c07c91c3d5d8529e83074..225cb920dfb744843fb883da99be74d5f17ef382 100644 (file)
@@ -130,7 +130,7 @@ GtkIconSet* gtk_icon_set_ref             (GtkIconSet      *icon_set);
 void        gtk_icon_set_unref           (GtkIconSet      *icon_set);
 GtkIconSet* gtk_icon_set_copy            (GtkIconSet      *icon_set);
 
-GDK_DEPRECATED_FOR(gtk_icon_set_render_icon_pixbuf)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_icon_set_render_icon_pixbuf)
 GdkPixbuf*  gtk_icon_set_render_icon     (GtkIconSet      *icon_set,
                                           GtkStyle        *style,
                                           GtkTextDirection direction,
index 083bf34510c62605c1c08ef93103168fc8af63b0..c2fcdd48038349f47172b2a73391c785a4104747 100644 (file)
@@ -210,7 +210,7 @@ GdkPixbuf *           gtk_icon_info_load_symbolic_for_context (GtkIconInfo
                                                                GtkStyleContext  *context,
                                                                gboolean         *was_symbolic,
                                                                GError          **error);
-GDK_DEPRECATED_FOR(gtk_icon_info_load_symbol_for_context)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_icon_info_load_symbol_for_context)
 GdkPixbuf *           gtk_icon_info_load_symbolic_for_style  (GtkIconInfo   *icon_info,
                                                               GtkStyle      *style,
                                                               GtkStateType   state,
index 709c35451ca0c4a9bce14a504390964d2b5b2602..f261abcd93a9ff75f78c75d1dd4c310aa606884e 100644 (file)
@@ -94,14 +94,14 @@ void           gtk_layout_get_size        (GtkLayout     *layout,
                                           guint         *width,
                                           guint         *height);
 
-GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment)
 GtkAdjustment* gtk_layout_get_hadjustment (GtkLayout     *layout);
-GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment)
 GtkAdjustment* gtk_layout_get_vadjustment (GtkLayout     *layout);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_hadjustment)
 void           gtk_layout_set_hadjustment (GtkLayout     *layout,
                                            GtkAdjustment *adjustment);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_vadjustment)
 void           gtk_layout_set_vadjustment (GtkLayout     *layout,
                                            GtkAdjustment *adjustment);
 
index 10635c9080ce2607e450178e6d6338c87cde0c77..b210c971df8e85f82dc21966df764d636e985477 100644 (file)
@@ -58,9 +58,13 @@ struct _GtkLockButtonClass
   void (*reserved7) (void);
 };
 
+GDK_AVAILABLE_IN_3_2
 GType        gtk_lock_button_get_type       (void) G_GNUC_CONST;
+GDK_AVAILABLE_IN_3_2
 GtkWidget   *gtk_lock_button_new            (GPermission   *permission);
+GDK_AVAILABLE_IN_3_2
 GPermission *gtk_lock_button_get_permission (GtkLockButton *button);
+GDK_AVAILABLE_IN_3_2
 void         gtk_lock_button_set_permission (GtkLockButton *button,
                                              GPermission   *permission);
 
index 900b619df7ef8543897f009594c9858d9f6c1d13..d19e58e6c82163c88f6f86bb1a90fdb90ec8ff62 100644 (file)
@@ -152,10 +152,10 @@ void       gtk_device_grab_add     (GtkWidget          *widget,
 void       gtk_device_grab_remove  (GtkWidget          *widget,
                                     GdkDevice          *device);
 
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 guint      gtk_key_snooper_install (GtkKeySnoopFunc snooper,
                                     gpointer        func_data);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void       gtk_key_snooper_remove  (guint           snooper_handler_id);
 
 GdkEvent * gtk_get_current_event        (void);
index 557949dfdba1a310cfd661b9d662dec5941bb648..ff0be0e511ded4b95fd7cb088a827b9189f44d91 100644 (file)
@@ -117,6 +117,7 @@ struct _GtkMenuClass
 
 GType     gtk_menu_get_type              (void) G_GNUC_CONST;
 GtkWidget* gtk_menu_new                          (void);
+GDK_AVAILABLE_IN_3_4
 GtkWidget* gtk_menu_new_from_model        (GMenuModel *model);
 
 /* Display the menu onscreen */
index 967b04d1b8896aae6fd632656df9b7560fb9073e..4e42e65002c98156f9fa52353b906e03bcf898a2 100644 (file)
@@ -71,6 +71,7 @@ struct _GtkMenuBarClass
 
 GType      gtk_menu_bar_get_type        (void) G_GNUC_CONST;
 GtkWidget* gtk_menu_bar_new             (void);
+GDK_AVAILABLE_IN_3_4
 GtkWidget* gtk_menu_bar_new_from_model  (GMenuModel *model);
 
 GtkPackDirection gtk_menu_bar_get_pack_direction (GtkMenuBar       *menubar);
index 24ef0c2b3eb12073bfe3abcea6b289017d490d90..bed63669cdff3331c1db7e0b2745a615fcd1109f 100644 (file)
@@ -104,10 +104,10 @@ void       gtk_menu_item_toggle_size_request  (GtkMenuItem         *menu_item,
                                                gint                *requisition);
 void       gtk_menu_item_toggle_size_allocate (GtkMenuItem         *menu_item,
                                                gint                 allocation);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_2
 void       gtk_menu_item_set_right_justified  (GtkMenuItem         *menu_item,
                                                gboolean             right_justified);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_2
 gboolean   gtk_menu_item_get_right_justified  (GtkMenuItem         *menu_item);
 void          gtk_menu_item_set_accel_path    (GtkMenuItem         *menu_item,
                                                const gchar         *accel_path);
index baa0e57bcf3a3c17ca2be7f96920d2451c08626d..96cd154a54e31e5cdcb90816d6ded4b98c0cafb8 100644 (file)
@@ -68,9 +68,11 @@ struct _GtkOverlayClass
   void (*_gtk_reserved8) (void);
 };
 
+GDK_AVAILABLE_IN_3_2
 GType      gtk_overlay_get_type    (void) G_GNUC_CONST;
-
+GDK_AVAILABLE_IN_3_2
 GtkWidget *gtk_overlay_new         (void);
+GDK_AVAILABLE_IN_3_2
 void       gtk_overlay_add_overlay (GtkOverlay *overlay,
                                     GtkWidget  *widget);
 
index 554551ebe6dc98ef780cd28982f4b442f210869b..a1d5daeeb6ac1fab057762063d3b5e327c63f5ee 100644 (file)
@@ -90,8 +90,10 @@ gint              gtk_scale_get_digits         (GtkScale        *scale);
 void              gtk_scale_set_draw_value     (GtkScale        *scale,
                                                 gboolean         draw_value);
 gboolean          gtk_scale_get_draw_value     (GtkScale        *scale);
+GDK_AVAILABLE_IN_3_4
 void              gtk_scale_set_has_origin     (GtkScale        *scale,
                                                 gboolean         has_origin);
+GDK_AVAILABLE_IN_3_4
 gboolean          gtk_scale_get_has_origin     (GtkScale        *scale);
 void              gtk_scale_set_value_pos      (GtkScale        *scale,
                                                 GtkPositionType  pos);
index 9a76c544689189cfab6dd1ac2a3408edc9aef1fb..f431b4a44048b0ba1b1b1f14afc7cc4c4a6ae173 100644 (file)
@@ -742,7 +742,7 @@ gboolean      gtk_style_context_state_is_running (GtkStyleContext *context,
 void          gtk_style_context_set_path     (GtkStyleContext *context,
                                               GtkWidgetPath   *path);
 const GtkWidgetPath * gtk_style_context_get_path (GtkStyleContext *context);
-
+GDK_AVAILABLE_IN_3_4
 void          gtk_style_context_set_parent   (GtkStyleContext *context,
                                               GtkStyleContext *parent);
 GtkStyleContext *gtk_style_context_get_parent (GtkStyleContext *context);
@@ -934,11 +934,13 @@ void        gtk_render_activity    (GtkStyleContext     *context,
 GdkPixbuf * gtk_render_icon_pixbuf (GtkStyleContext     *context,
                                     const GtkIconSource *source,
                                     GtkIconSize          size);
+GDK_AVAILABLE_IN_3_2
 void        gtk_render_icon        (GtkStyleContext     *context,
                                     cairo_t             *cr,
                                     GdkPixbuf           *pixbuf,
                                     gdouble              x,
                                     gdouble              y);
+GDK_AVAILABLE_IN_3_4
 void        gtk_render_insertion_cursor
                                    (GtkStyleContext     *context,
                                     cairo_t             *cr,
index bca4eeaeebaa370e2103c20d8309463aa8892006..1acd85322f0e2763b06bb42f2889b4c670d05542 100644 (file)
@@ -88,6 +88,7 @@ GtkTextBuffer *gtk_text_iter_get_buffer (const GtkTextIter *iter);
 
 GtkTextIter *gtk_text_iter_copy     (const GtkTextIter *iter);
 void         gtk_text_iter_free     (GtkTextIter       *iter);
+GDK_AVAILABLE_IN_3_2
 void         gtk_text_iter_assign   (GtkTextIter       *iter,
                                      const GtkTextIter *other);
 
index 62bd8d1ce3b74bbf8d9e81b9a40d1cfa0e2ecd75..2ad04d0bc57878484952e5b1db73880cab2dae89 100644 (file)
@@ -188,9 +188,9 @@ void gtk_text_view_window_to_buffer_coords (GtkTextView       *text_view,
                                             gint              *buffer_x,
                                             gint              *buffer_y);
 
-GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment)
 GtkAdjustment*   gtk_text_view_get_hadjustment (GtkTextView   *text_view);
-GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment)
 GtkAdjustment*   gtk_text_view_get_vadjustment (GtkTextView   *text_view);
 
 GdkWindow*        gtk_text_view_get_window      (GtkTextView       *text_view,
index daff957a6458bcabb1153e0ba809c7bde6a1c08d..4d5e9d835613f81e758e760eccfc339c59f8e41d 100644 (file)
@@ -127,9 +127,9 @@ void                           gtk_tool_palette_add_drag_dest         (GtkToolPa
                                                                        GdkDragAction              actions);
 
 
-GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment)
 GtkAdjustment*                 gtk_tool_palette_get_hadjustment       (GtkToolPalette            *palette);
-GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment)
 GtkAdjustment*                 gtk_tool_palette_get_vadjustment       (GtkToolPalette            *palette);
 
 const GtkTargetEntry*          gtk_tool_palette_get_drag_target_item  (void) G_GNUC_CONST;
index 879d21c33ec0f23e3567a0b9742b227d696758e4..741232eead7701dd15afb87c1729a68cfd1c404e 100644 (file)
@@ -214,14 +214,14 @@ void                   gtk_tree_view_set_model                     (GtkTreeView
                                                                    GtkTreeModel              *model);
 GtkTreeSelection      *gtk_tree_view_get_selection                 (GtkTreeView               *tree_view);
 
-GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment)
 GtkAdjustment         *gtk_tree_view_get_hadjustment               (GtkTreeView               *tree_view);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_hadjustment)
 void                   gtk_tree_view_set_hadjustment               (GtkTreeView               *tree_view,
                                                                    GtkAdjustment             *adjustment);
-GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment)
 GtkAdjustment         *gtk_tree_view_get_vadjustment               (GtkTreeView               *tree_view);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_vadjustment)
 void                   gtk_tree_view_set_vadjustment               (GtkTreeView               *tree_view,
                                                                    GtkAdjustment             *adjustment);
 
@@ -257,6 +257,8 @@ gint                   gtk_tree_view_insert_column_with_data_func  (GtkTreeView
                                                                     GtkTreeCellDataFunc        func,
                                                                     gpointer                   data,
                                                                     GDestroyNotify             dnotify);
+
+GDK_AVAILABLE_IN_3_4
 guint                  gtk_tree_view_get_n_columns                 (GtkTreeView               *tree_view);
 GtkTreeViewColumn     *gtk_tree_view_get_column                    (GtkTreeView               *tree_view,
                                                                    gint                       n);
@@ -435,7 +437,7 @@ typedef void (* GtkTreeDestroyCountFunc)  (GtkTreeView             *tree_view,
                                           GtkTreePath             *path,
                                           gint                     children,
                                           gpointer                 user_data);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void gtk_tree_view_set_destroy_count_func (GtkTreeView             *tree_view,
                                           GtkTreeDestroyCountFunc  func,
                                           gpointer                 data,
index 2635fd860cc726b772386b41594ca7790958311d..f6c4a780fe97b2fb7d1588a79f727bfb4841c4b3 100644 (file)
@@ -142,6 +142,7 @@ gboolean                gtk_tree_view_column_get_resizable       (GtkTreeViewCol
 void                    gtk_tree_view_column_set_sizing          (GtkTreeViewColumn       *tree_column,
                                                                  GtkTreeViewColumnSizing  type);
 GtkTreeViewColumnSizing gtk_tree_view_column_get_sizing          (GtkTreeViewColumn       *tree_column);
+GDK_AVAILABLE_IN_3_2
 gint                    gtk_tree_view_column_get_x_offset        (GtkTreeViewColumn       *tree_column);
 gint                    gtk_tree_view_column_get_width           (GtkTreeViewColumn       *tree_column);
 gint                    gtk_tree_view_column_get_fixed_width     (GtkTreeViewColumn       *tree_column);
index 8573f2aeca1660550cf0d59209b24515437dcef1..87bd9df80a0416ec65c71a1c6669fbff59018a70 100644 (file)
@@ -126,10 +126,10 @@ typedef enum {
 
 GType          gtk_ui_manager_get_type            (void) G_GNUC_CONST;
 GtkUIManager  *gtk_ui_manager_new                 (void);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 void           gtk_ui_manager_set_add_tearoffs    (GtkUIManager          *manager,
                                                    gboolean               add_tearoffs);
-GDK_DEPRECATED
+GDK_DEPRECATED_IN_3_4
 gboolean       gtk_ui_manager_get_add_tearoffs    (GtkUIManager          *manager);
 
 void           gtk_ui_manager_insert_action_group (GtkUIManager          *manager,
index 68a23f287546ccf1c2ce3d98ec43a9865d5643dd..50d8a4112c4bc9bbc5dec0ecdc4596b3f8adfe08 100644 (file)
@@ -75,14 +75,14 @@ GType          gtk_viewport_get_type        (void) G_GNUC_CONST;
 GtkWidget*     gtk_viewport_new             (GtkAdjustment *hadjustment,
                                             GtkAdjustment *vadjustment);
 
-GDK_DEPRECATED_FOR(gtk_scrollable_get_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_hadjustment)
 GtkAdjustment* gtk_viewport_get_hadjustment (GtkViewport   *viewport);
-GDK_DEPRECATED_FOR(gtk_scrollable_get_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_get_vadjustment)
 GtkAdjustment* gtk_viewport_get_vadjustment (GtkViewport   *viewport);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_hadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_hadjustment)
 void           gtk_viewport_set_hadjustment (GtkViewport   *viewport,
                                              GtkAdjustment *adjustment);
-GDK_DEPRECATED_FOR(gtk_scrollable_set_vadjustment)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_scrollable_set_vadjustment)
 void           gtk_viewport_set_vadjustment (GtkViewport   *viewport,
                                              GtkAdjustment *adjustment);
 
index 76d192ce2c8e11b1962000d419f2a8cb56467be8..e4886e61b23c477cb76a58b97c217363f7040219 100644 (file)
@@ -483,7 +483,7 @@ void           gtk_widget_queue_draw_region   (GtkWidget           *widget,
                                            const cairo_region_t*region);
 void      gtk_widget_queue_resize        (GtkWidget           *widget);
 void      gtk_widget_queue_resize_no_redraw (GtkWidget *widget);
-GDK_DEPRECATED_FOR(gtk_widget_get_preferred_size)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_size)
 void       gtk_widget_size_request        (GtkWidget           *widget,
                                            GtkRequisition      *requisition);
 void      gtk_widget_size_allocate       (GtkWidget           *widget,
@@ -508,7 +508,7 @@ void                gtk_widget_get_preferred_size             (GtkWidget      *w
                                                                GtkRequisition *minimum_size,
                                                                GtkRequisition *natural_size);
 
-GDK_DEPRECATED_FOR(gtk_widget_get_preferred_size)
+GDK_DEPRECATED_IN_3_0_FOR(gtk_widget_get_preferred_size)
 void       gtk_widget_get_child_requisition (GtkWidget         *widget,
                                              GtkRequisition    *requisition);
 void      gtk_widget_add_accelerator     (GtkWidget           *widget,
@@ -556,6 +556,7 @@ void       gtk_widget_set_can_focus       (GtkWidget           *widget,
 gboolean   gtk_widget_get_can_focus       (GtkWidget           *widget);
 gboolean   gtk_widget_has_focus           (GtkWidget           *widget);
 gboolean   gtk_widget_is_focus            (GtkWidget           *widget);
+GDK_AVAILABLE_IN_3_2
 gboolean   gtk_widget_has_visible_focus   (GtkWidget           *widget);
 void       gtk_widget_grab_focus          (GtkWidget           *widget);
 
@@ -719,8 +720,10 @@ void             gtk_widget_set_support_multidevice (GtkWidget      *widget,
                                                      gboolean        support_multidevice);
 
 /* Accessibility support */
+GDK_AVAILABLE_IN_3_2
 void             gtk_widget_class_set_accessible_type    (GtkWidgetClass     *widget_class,
                                                           GType               type);
+GDK_AVAILABLE_IN_3_2
 void             gtk_widget_class_set_accessible_role    (GtkWidgetClass     *widget_class,
                                                           AtkRole             role);
 AtkObject*       gtk_widget_get_accessible               (GtkWidget          *widget);
@@ -750,7 +753,7 @@ void     gtk_widget_set_margin_bottom (GtkWidget *widget,
 gint        gtk_widget_get_events      (GtkWidget      *widget);
 GdkEventMask gtk_widget_get_device_events (GtkWidget   *widget,
                                            GdkDevice    *device);
-GDK_DEPRECATED_FOR(gdk_window_get_device_position)
+GDK_DEPRECATED_IN_3_0_FOR(gdk_window_get_device_position)
 void        gtk_widget_get_pointer     (GtkWidget      *widget,
                                         gint           *x,
                                         gint           *y);
@@ -889,6 +892,7 @@ GtkStyleContext * gtk_widget_get_style_context (GtkWidget *widget);
 
 GtkWidgetPath *   gtk_widget_get_path (GtkWidget *widget);
 
+GDK_AVAILABLE_IN_3_4
 GdkModifierType   gtk_widget_get_modifier_mask (GtkWidget         *widget,
                                                 GdkModifierIntent  intent);
 
index 0ff9b76e165a529e3c976f95431080e65719f06e..b042544dc99144b30ca6c7558630ee189aee7424 100644 (file)
@@ -25,6 +25,7 @@
 #define __GTK_WIDGET_PATH_H__
 
 #include <glib-object.h>
+#include <gdk/gdk.h>
 #include <gtk/gtkenums.h>
 
 G_BEGIN_DECLS
@@ -41,10 +42,13 @@ GType           gtk_widget_path_get_type            (void) G_GNUC_CONST;
 GtkWidgetPath * gtk_widget_path_new                 (void);
 
 GtkWidgetPath * gtk_widget_path_copy                (const GtkWidgetPath *path);
+GDK_AVAILABLE_IN_3_2
 GtkWidgetPath * gtk_widget_path_ref                 (GtkWidgetPath       *path);
+GDK_AVAILABLE_IN_3_2
 void            gtk_widget_path_unref               (GtkWidgetPath       *path);
 void            gtk_widget_path_free                (GtkWidgetPath       *path);
 
+GDK_AVAILABLE_IN_3_2
 char *          gtk_widget_path_to_string           (const GtkWidgetPath *path);
 gint            gtk_widget_path_length              (const GtkWidgetPath *path);
 
@@ -52,10 +56,12 @@ gint            gtk_widget_path_append_type         (GtkWidgetPath       *path,
                                                      GType                type);
 void            gtk_widget_path_prepend_type        (GtkWidgetPath       *path,
                                                      GType                type);
+GDK_AVAILABLE_IN_3_2
 gint            gtk_widget_path_append_with_siblings(GtkWidgetPath       *path,
                                                      GtkWidgetPath       *siblings,
                                                      guint                sibling_index);
 /* gtk_widget_path_append_for_widget() is declared in gtkwidget.c */
+GDK_AVAILABLE_IN_3_2
 gint            gtk_widget_path_append_for_widget   (GtkWidgetPath       *path,
                                                      GtkWidget           *widget);
 
index 3fcc5b22125e4a80370154961379959cc4fc02d0..6ad43083600d6d2c0835b7a5233e24194d912900 100644 (file)
@@ -135,8 +135,10 @@ gboolean   gtk_window_activate_default            (GtkWindow           *window);
 void       gtk_window_set_transient_for        (GtkWindow           *window, 
                                                GtkWindow           *parent);
 GtkWindow *gtk_window_get_transient_for        (GtkWindow           *window);
+GDK_AVAILABLE_IN_3_4
 void       gtk_window_set_attached_to          (GtkWindow           *window, 
                                                 GtkWidget           *attach_widget);
+GDK_AVAILABLE_IN_3_4
 GtkWidget *gtk_window_get_attached_to          (GtkWindow           *window);
 void       gtk_window_set_opacity              (GtkWindow           *window, 
                                                gdouble              opacity);
@@ -162,14 +164,18 @@ gboolean   gtk_window_get_focus_on_map         (GtkWindow           *window);
 void       gtk_window_set_destroy_with_parent  (GtkWindow           *window,
                                                 gboolean             setting);
 gboolean   gtk_window_get_destroy_with_parent  (GtkWindow           *window);
+GDK_AVAILABLE_IN_3_4
 void       gtk_window_set_hide_titlebar_when_maximized (GtkWindow   *window,
                                                         gboolean     setting);
+GDK_AVAILABLE_IN_3_4
 gboolean   gtk_window_get_hide_titlebar_when_maximized (GtkWindow   *window);
 void       gtk_window_set_mnemonics_visible    (GtkWindow           *window,
                                                 gboolean             setting);
 gboolean   gtk_window_get_mnemonics_visible    (GtkWindow           *window);
+GDK_AVAILABLE_IN_3_2
 void       gtk_window_set_focus_visible        (GtkWindow           *window,
                                                 gboolean             setting);
+GDK_AVAILABLE_IN_3_2
 gboolean   gtk_window_get_focus_visible        (GtkWindow           *window);
 
 void       gtk_window_set_resizable            (GtkWindow           *window,